Some tests for resource_base().