added tests for invalid key and expired github token