cleanup sdc unit test and go script a bit