fix getPipeline

Added the missing arguments in calls to generateRequest() from:
- getEmailComments()
- getEvent()
- getPipeline()

Added tests for getEvent and getPipeline, however there were no tests
for emails, so left that one to luck.
Corrected request for getTeamMembers()

The Team Members test was failing, and I thought it was due to what
looks like an incorrect url, however it turned out that it was both the
incorrect and a flawed assumption that the first team had non zero
number of members.