test for bug #123