Fetching commit author for state change from API.

Cannot use the state "sender" login for performing validations. Need to get the author from the commit API.

Also added some further testing for contributor utils.