Add test case for #18