Added tests for the user