Move tests for file handle leak.