add some test coverage for #114