fix tests running phreak
(cherry picked from commit e9f8fcc5d8c60e4b6b3e9fa82229fe2591547d2c)