test sending message to remote entity manager