modify minitest spec to use better instance variables