Add 4 test and Put method to RestClient class