fixed issue with test not finding resources