Add unit test for GetQuadrilateralByPosition