Update request to v2.21.0
Update chai to v1.6.0
Fix global leaks in tests