Ensure an editor variable is set for test if not there already