build elemental testcases