added control of quiet flags to test_functions
added controlled debug flag + main functions time chrono under debug flag + pfunc move to mother class, ref #18