get spt testcases to work