added tests flexing do-map