Refactor unit tests

Note:
* All 8 out 8 tests passed.
* The 'remove_collaborator' test has been commented out for now.
The Codebox server replies with: {"error": "Need 'email' argument"},
despite the request being made with the necessary/required arguments/params.