Bugfix: exit with code 1 when a test class errors