Add some usage notes to the readme
Add tests for double calls to res and next