GEP-82: correcting priority check in snapping. Extend existing test