added tests for varnames

tests added, added example dot for varnames