Added tests for ResourceFactory, to ensure it produces a more specific valid Config Resource