Add test for CASSANDRA-7641