Added pypy3 compatibility, since it lacks unittest.mock...
Ratearray (allowing an array of event emmiters) and basic tests