add: use portInUse in some tests