added unit test for get_capabilities_as_view
added unit test for createOrListGroups.as_view, updates of others