Extract testing infrastructure to separate project