fix: Implemented a test for `MessageTo` and fixed deserialization