[simple_messages] Checking object slicing and message inheriance