Fix for Cest files containing more than one test.

I have made a small fix when there is more than one test on acceptance Cest file. 

Before my changes it echoed that test passed when there were only one test from Cest file that passes. What my change does, it checks if line fails and then sets passed to false, showing that test failed.