Add tests that % is correctly interpreted by generic and CDS