Get data from String instead of File for Test.