Add tests to the SimpleServerFactory

A unit/integration test that checks configuration of a server with a single available port.