Add method Vars() and test suite