The connection count test should restrict the test to current database.

queue_classic tests fail if I have unrelated connections present to other databases. This fixes the failing test.