Test cases for user route