added a check to make sure the tests run properly