renamed streams to eventemitter, udated test