Adding possibilty to name resource
Adding test for named resource
more readable
Merge pull request #258 from fdubost/master

Allow to named resources