Add a test for getUser