Add debugMessageHandler in run-test
Remove FUNC_NAME preprocessor