Fixing failing test due to syntax error

Fixing tests that are failure due to errors in the script