Bugfix, tests always failed even if they did not fail