add more features to put_resource_test