added test case for #218