Fix minitest 5 integration

The referenced instance variable does not exist in MiniTest 5, the method does.