created testcase for unregistered users; generalized userspace testcases a bit