Add deepEqual tests
Correct the context of logging callbacks