fix test coverage and check for config port