[AC] Testing of resource controller: create, delete, index
[AC] Refactoring; Testing of resource controller: show