Added test for issue #218