minitest hasn't been updated in a while (more than two years) and it's not clear from the repo which version it was built on, since vanilla minitest doesn't have a .setupListeners() method..
Maybe replacing minitest with something like mocha might be a good idea. I'd be happy to help doing that.
Also full test coverage would also not be a bad idea