SENTRY-287: Add test case for giving select privieleges on a table in a non default database

(Sravya Tirukkovalur via Jarek Jarcec Cecho)