Fix the TestCase by checking for current revision

The Document object is created everytime and it doesnt make any sense to check if
that object is null. Instead the currentRevision will be null if the validation
actually failed.

Also, removed the validation and made sure that the same document was fetched properly