refactored projects controller spec