Added unit tests for project model