adding a test for CASSANDRA-5902