Added test cases for duplicate user.