fix tests of message