Consistency tests for cassandra database