remote the test function