Add tests to project_controller