Added test case for #365.