fixup! fixed code review findings

- renamed pluralizedName to nameForRestUrl
- added unit-tests for custom nameForRestUrl