[build] test var folder first