testsuite: adjust testcase source and definitions