Add a unit test for #327, to indicate problem to solve