> It's a trouble if you're unable to control your test environment.

Why not. But since the end developer have no control on dependencies of your lib ... This is irrelevant.