Fix tests, get resource data via get to make it easier to debug