Add test case for #164