user resource test cover