bugfix: y map was not ordered, add new test