[incomplete] Add test/extvar-main.ml

test/extvar-main.ml is not passing