generating test points in-place, draft