Fix test compability with VTK 5.