Added return status code for running tests.