fixing tests for test_machine
moving remote_sun_path and local_sun_path to SwitchPort