add tests to confirm works with implicit accessors, update examples in readme to script