Added function for running all the tests.