Added tests for userpanel