The TestCore_Run and TestCore_Invoke tests could be simplified to remove the chooseOpenAddress call if the output from func run were parsable. Omitting the --address flag entirely should result in the system automatically choosing an open port. If the output from the run command becomes parseable (see #3198); this would be a cleaner and more robust method for contacting the running Function.