Fixed error test assert.