test cases to expose issue #19