compile tests in build phase