[test] Add putFile tests