Error messages for tests on Generated