Fixed some warnings and syntax errors in DELETE system test