Issue #13 writing tests to verify issue #26