added namespace cpp files so that qtcreator can find header files in
project view.

added self test for testrunner.