test switchLocation Success/Fail