Added tests to user