fixed resource loading path to run in meter context

cleaned up a test