test dynamically add instance_variables or class_variables to class.