Fix test mocks to use status_for_json

Changed the function we use in chef_keygen_cache, but failed to alter tests to match.