added tests for Counter shim