Introduce flag for tool testing: provide ability to disable ban hooks