Test for api_reader's caching. Fix test that relied on json being passed around. Account for cachemiss in child