test of instance variables and self