Use random-access for tests