WyC: Added test case for #397