Convert test variables to the state system.