core: use testApplyFn in TestContext2Apply_countDecreaseToOneCorrupted
core: use testApplyFn in TestContext2Apply_countDecreaseToOneCorrupted

Without testApplyFn, the test can't perform the actions it's trying to
perform.

hashicorp/terraform-plugin-sdk,hashicorp/terraform-plugin-sdk