added tests for github handler