one-line midpoints, fix arrayops test