fix integration tests for expiry so they don't fail when server does not immediately expire documents