Added infrastructure to compile tests