tests: Corrected syntax error from commit 7246255416617a