fixed resource mapper tests.