Added the possibility to define the unit test listening ports via environment.