changed c++0x switch in cmakefile, added some debug-output to tests