Fixing syntax errors in tests.

AFDP-139