-fixed some compilation warnings reported by Kennard White -modified some dum tests to let the OS select the port to use, instead of using a random port