Added tests for user key