Issue #312: fix a test