added tests and github client to enable service hooks