tests for Project api endpoint