refactor: expose all messages to tests