Add test for CASSANDRA-5732