Add corner case tests to GridSnapTest