fixed some port tests