testing: read string instead of file