test: remove instance variable based helper method