Added a test for error that is thrown, when userID is undefined
Merge branch 'locDev' into Dev
Fixed test "should not throw error when userIP is undefined"