test to verify CQL string is encoded