- added tests to reproduce issue #29