Close files opened by unit testing framework