Cassandra JDBC lookup test and bug fix in store manager