PCT-1006: Tests for 3 (probably) bugs in parsing db name

1. One "use test;" statement covers all following queries
2. Currently matching "use " is case sensitive so "USE " won't work
3. Db name can be in backticks, probably they should be stripped