remove 'unused' warnings in testsuite
remove 'unused' warnings in gui