starting to write tests
numeric port in config file
fixing bug with error handling