added tests for collection.revision()