Fixed error counter in testbench. Tidied up output. Closes #31.