[Helpers] Fixed a bug that breaks test data.