added tests for admin to delete any resource from index page