Testing generate class vars on the fly