Integration tests for  sls syntax errors

After pull request #8174, integration tests for #7905 & #8114.
Note that there're certainly other syntax errors to test.