Added tests for user.