Wrapped test cases in functions