d652eff6d9
Most api charms test restart on changed by flipping the value of debug. This has led to the same test being copied around. To reduce the boiler plate code this change adds a new test helper which can be used instead.