tests for DDC-2890

First error is notice level so I added second test with notices ignored to show actual malformed SQL which will be executed on server ignoring notices.