complete Restcontroller tests