added more features to testcasehelper