Use env for version test