Fixed a test involving writing nicks to csv file.