adding some sed mucking and port changing tests