Add initial unit tests and mocks for projects controller.