Add tests and a note about close + abort

Closes #130; closes #192.