added some unittests for testsystem in the testsystem module.