add test for issue18