More testcases and updated QPX code generator.