IO and multithreading tests for text parsing