The scan test has been unreliable.
Scan test to always pass in various environments.
Test sometimes fails.
Steps to Reproduce
- Examine recent CI runs.
The scan test has been unreliable due to differences in returned sizes. The requested count is only advisory, the server may ignore and return an alternative count. See discussion on #23 (comment 567176355)
Accept a count in the range 6-9 when requesting 8.
Copyright headers in new files (see CONTRIBUTING.md)
Unit test case to prevent the bug in the future