Changes to order of file IO JUnit test, now first writes then reads