Improve how project data is inited for tests.