Added unit tests for project controller