test for Github function