Enhance test coverage

And simplify object comparison, as it is useless in its
current state. todo : check how to do it when taking a
snapshot ?