Add basic regression test for creating a var region