Test fix for bash helpers

(cherry picked from commit cca3ea3fb68f2c20f5debe45eed89eccab8197fe)