testing class variable method