resource: added resource_handler interface and test resource type.
test/resource/manager: replaced dummy resources with test resource.