Add test cases for processing a message actions