Test in both local and remote