Refactor "feat_variables" tests