Test using a properly configured ObjectMapper