fix BitbucketPullrequestPoller issues
added BitbucketPullrequestPoller tests