Add initial get_resource_template_info tests
Improve workspace preference API tests. Ensure the cache is invalidated correctly