Put resource instead of all for all resource type of action
Addinf functional test for badge + adding directory where to put file used in test