Add a task "compile".
Run rake compile before test.