Build and run the tests.