diff --git a/dune/tnnmg/test/gradientmethodtest.cc b/dune/tnnmg/test/gradientmethodtest.cc
index 1d0c58d7e18dbc44f3da51ae5a8a29839c7b3df6..1a72af804a7f1d8b2de9bfae7526a7a110824982 100644
--- a/dune/tnnmg/test/gradientmethodtest.cc
+++ b/dune/tnnmg/test/gradientmethodtest.cc
@@ -27,23 +27,6 @@
 
 #include <dune/solvers/test/common.hh>
 
-template <class DomainType, class RangeType>
-class ConstantFunction :
-    public Dune::VirtualFunction<DomainType, RangeType>
-{
-    public:
-        ConstantFunction(double c):
-            c_(c)
-        {}
-
-        void evaluate(const DomainType& x, RangeType& y) const
-        {
-            y = c_;
-        }
-
-    private:
-        double c_;
-};
 
 
 template<class F>
@@ -287,6 +270,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
 
 int main(int argc, char** argv) try
 {
+    Dune::MPIHelper::instance(argc, argv);
     bool passed(true);