Writing unit tests for projects view.