Add test case for #168.