added test rest controller