Add tests for ObjectMapper