Fix promises tests
Add middle wildcard to events