Added test_get_resource.