tests: fix 'unary operator expected' error in shell script

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>