test the github function