Some misc helperFunctions test cases