remote test code