Compile tests with dagger