Fix setting flags on orthographic context
Basic test for the Orthographic Heuristic