add tests for #66