Giovanni Mascellani : tests: Test how constant folding works on SM1.