Fix remote test cases.
Add more assertion to upload test cases.
Add clipboard test cases.