Fix test to switch host -- Fix #25