test for invocation count