Checks if Spring is running, and then uses it to run the tests