add test covering Issue #98