Added rest controller test