New well covering unittests for async pool connection states.

Test with imidiately failing connections. Test with connections failing
while connecting process. Test with connections failing while staying open
for some time.

Mocks for connection and connection provider classes.