fix test and improve Cassandra implementations of the counter store