read resource test