the test of local to origin