passes inverse dictionary map test