* use nullptr
* reduced cyclic complexity in CP_TriggerEvent (bep callback)
* echo -e is not portable
* extend the bep unittest