Use Batch.fromPagenumber
Add test and use a batch_method var
Use pkg_resources
Fix tests