Cleanup of readlineArray tests, and addition of overflow test