Remove no-longer-used error messages from test-main.c.