test for returning of same mapping