Add tests to make sure we leave bad syntax alone