Removed debugging code in the test helper which was making tests fail