Added some more tests.
Added error on getUserContext before usercontext has been set.
Fixed a bug in DataManager.
Merge pull request #93 from stravant/master

Some more small changes.