Added get_projects function and unit test for Project.getAll