test for github function