Add a test case for get_user_document