Port unit tests