added test-cases to reproduce bug #104