add tests for #26