Add test for CASSANDRA-8280