Cleanup and fix comments
[test] Fix Log and LogStream tests
[test] Check if the port is actually open in Port test