test subresource