modified test to quit when fails so doesn't output test passed! message