Improved ILS\Connection dependency injection and related unit tests.