adding tests for a user get endpoint