Making connection_attempts a static value. Added test for new value.