adding test and fix for rivets.formatters.capitalize