Fix exit code from test runner

Before this commit it would return success or failure only based
on whether cleanup was successful or bogus