add unit tests including mock cleartool methods