Fixed broken test cases of cassandra