Generalize consistency level test