Add a draft unit test for UserResource