Fixed BlockOrientation.closestTo, added a unit test for it.