Added test for bug #155