Added expected message to exception testing