Complie mo before running tests.