refactor creates_project tests