Added compilation step to the test script.