Generated error fixed for test