A lot of this code is common across tests i.e. lines 197 through 213. Have you considered refactoring into a common test method that you can pass params to i.e. the destination write time?