fix test failures: clear loc_mapper cache