fix(test): add setMaxListeners to test preparation