add AbstractMessage in tests