added unit test for collection sharing
-simulates account creation, and browser sessions
-asserts collection sharing permissions work as intended
-the test triggers some warning with crispy forms, since the objects are not fully populated, but it doesn't affect the test case