Fixed resource mapping unit test (merged feature before the unit test was fixed)