[TEST] properly wait for mappings when needed