Added initial tests for ports