Adds logging to server start&stop, fixes unit test

- simplified port parsing, added log message
- made terminate call actually terminate + log
- fixed broken unit test, verified all pass.