add info,debug,error... functions

    Made unittests a tad more respectable