updated errata test to pass expected messages as data