Fix user resource test.