modification of resource test