Added test to verify that deserialize sends log message on error