Run var-directory on 'make test'

It makes Travis CI happy