Fixing syntax error and adding basic spec checks.