Add tests for milestone service
Refactor star test

Use stubs instead of spy to stub io.emit, restore notification stub
Add pull_request opened and synchronized tests
Remove trailing whitespace