Test and improve #reset method
Test that complex objects are logged correctly