Add failing test case for #332