fix mem leak in test
fix mem leak in test

Change-Id: Ic29c0d477d9960520385408bd783f822d8116448

ashray/VTK-EVM,keithroe/vtkoptix,mspark93/VTK,sankhesh/VTK,keithroe/vtkoptix,mspark93/VTK,gram526/VTK,biddisco/VTK,demarle/VTK,sumedhasingla/VTK,johnkit/vtk-dev,mspark93/VTK,sumedhasingla/VTK,jmerkow/VTK,hendradarwin/VTK,johnkit/vtk-dev,jmerkow/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,SimVascular/VTK,hendradarwin/VTK,gram526/VTK,ashray/VTK-EVM,jmerkow/VTK,sankhesh/VTK,sumedhasingla/VTK,demarle/VTK,sankhesh/VTK,jmerkow/VTK,sankhesh/VTK,berendkleinhaneveld/VTK,johnkit/vtk-dev,SimVascular/VTK,berendkleinhaneveld/VTK,sankhesh/VTK,candy7393/VTK,keithroe/vtkoptix,johnkit/vtk-dev,gram526/VTK,biddisco/VTK,msmolens/VTK,demarle/VTK,johnkit/vtk-dev,jmerkow/VTK,SimVascular/VTK,SimVascular/VTK,msmolens/VTK,mspark93/VTK,hendradarwin/VTK,ashray/VTK-EVM,SimVascular/VTK,johnkit/vtk-dev,gram526/VTK,sankhesh/VTK,berendkleinhaneveld/VTK,msmolens/VTK,demarle/VTK,mspark93/VTK,sumedhasingla/VTK,demarle/VTK,keithroe/vtkoptix,sankhesh/VTK,mspark93/VTK,berendkleinhaneveld/VTK,SimVascular/VTK,jmerkow/VTK,gram526/VTK,hendradarwin/VTK,gram526/VTK,sumedhasingla/VTK,ashray/VTK-EVM,SimVascular/VTK,candy7393/VTK,demarle/VTK,ashray/VTK-EVM,sankhesh/VTK,msmolens/VTK,sumedhasingla/VTK,sumedhasingla/VTK,biddisco/VTK,msmolens/VTK,candy7393/VTK,demarle/VTK,msmolens/VTK,candy7393/VTK,berendkleinhaneveld/VTK,hendradarwin/VTK,gram526/VTK,keithroe/vtkoptix,biddisco/VTK,msmolens/VTK,demarle/VTK,biddisco/VTK,mspark93/VTK,jmerkow/VTK,keithroe/vtkoptix,hendradarwin/VTK,biddisco/VTK,candy7393/VTK,ashray/VTK-EVM,candy7393/VTK,keithroe/vtkoptix,berendkleinhaneveld/VTK,SimVascular/VTK,jmerkow/VTK,ashray/VTK-EVM,keithroe/vtkoptix,candy7393/VTK,ashray/VTK-EVM,msmolens/VTK,mspark93/VTK,candy7393/VTK,sumedhasingla/VTK,biddisco/VTK,hendradarwin/VTK,gram526/VTK