added test-case for bug #10