bindings/python: test python Database.get_revision ()