adding tests for the github api problem