testing/testcase: install unittest Ctrl+C handler earlier
This also makes development easier, because we can make a temporary change to skip setupModule not to reinstall software when we are working only on the test and we don't need to recompile the software.