Fix finding the resource interface when running in the test environment

Authored by vkrause on Sep 17 2017, 1:54 PM.