test: use instance variables