Added unit tests for the projects controller