added test casses for user details view