Convert test variables to the state system.

PR for https://github.com/backdrop/backdrop-issues/issues/163
Same as above, let's just delete these lines. Unnecessary as part of the upgrade path.