Made treatRawData tests pass