Added tests for github callback errors.