add tests for /workspace/:id/projects
add workspaces.projects api function