Refactor CharacterTest to use a data provider