#520 added client-side collection testing.
#520 all endpoints now use "correct" workspace.
Merge pull request #521 from joola/feature/#520

#520 wrong workspace pickup by endpoints for superuser.