Added tests for User