add tests for #89