test(messages) fixed test on offline messages