test cases to expose issue #29