restore handling of :test metadata on vars