Test case for user-agent and node-remote

two test cases.