simplified test for UG a bit, now that the problem dimension is not controlled by the build system anymore [[Imported from SVN: r2614]]