add dumpTest for dumping out the unittest associated with a function