Added tests for rightOf and signed distance.