created test for ResourceContentCtrl