fixed missing port setting for test