[4.0.0] additional tests for server module
[4.0.0] removed clobbering of user input with default values

if invalid input is provided we should provide a helpful error message, not try and outsmart the user
[4.0.0][#460] additonal tests for spec/serve

found issue with cleanup function
comment changed in serve module