Add test of Permission model
Add test of Resource model