Fixing message trimming test