Test having a map