test local and remote