Test changed to take minimum of db connections