Add any state change callback

i know that the rest of the specs are written similarly, but how do you feel about using `define_constant` and then cleaning that constant off after test runs?