Fix a test case in project test #2280

The test was asserting a RuntimeError for unregistered
user. Now, it tests it the right way.
Merge pull request #119 from aroraumang/feature/task-2280

Fix a test case in project test #2280