Tests: allow fully-qualified svc name connection

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