fill out ObjectMessage and write tests for it