isVertexOnLevel implemented, incl. tests