test local/remote priority