Add tests, add "done" event and better handle no default options
1.1.0