add tests for #107