test sending message to local entity manager