Allow maxreaders parameter to be set

As investigated in issue #6.

The tests aren't as elegant as I'd like, but they do their job and document their hacks.