Way to test errors in my code

Quicktest and randomtest should work afaik, in my experience they are the best tools to find bugs and track stats.
Here is a modified version of the tool in which you can track stats without the need to print the whole text, which is really useful to me