Add test case for #38