map switch test