added test for get user by id