Fix declaration error test.