Tests: allow fully-qualified svc name connection

Allow running tests against database which service is not identical to
the the database name.