PUT tests added for rest controller test