def METHOD_NAME(self, filename, oxidations, working_ion="Li"):
    struct = Structure.from_file(os.path.join(TEST_FILES_DIR, filename))
    struct.add_oxidation_state_by_element(oxidations)
    return BatteryAnalyzer(struct, working_ion)