Code for checking PRs and commits from github - and all tests working