Add test with two messages and promise.