Added tests for user uniquness and validation