You define this same code twice. Once in the helper and once here on the DO. This kind of test code shouldn't end up in the repo at all, but if it does it shouldn't be in the DO and should therefore only be in the helper.