forgot to add test for issue #1, adding for reference and to test regressions in the future