Add tests for Github model.