started working on test for messages