adding invocation count test case