Add tests for json/group/file calls and fix bug w/ file call introduced with moving to requests.