custom resource test