Code review feedback: refactor test_api.py
Code review feedback: add default buffer size
Code review feedback: verify_order False by default
Code review feedback: Fix row-counting doc/logic
Code review feedback: Remove duplicate code
Code review feedback: refactor test_tasks_helper