error message spec added