Tightens up vector layer tests.