Use bash instead of sh for tests script, for process substitution support