Replace PTB with DHP in unit tests