Assert last saved sequenced equals the sequence from the last pulled doc

Issue #376 test modification.