Refactor space on vars test