Fix Minitest exit hook hack to handle Minitest 5
Merge pull request #485 from rcook/p-rcook-minitest-exit-hooks

Fix Minitest exit hook hack to handle Minitest 5