[testpackages] Fixing syntax error