fixing examples section
refactoring descriptor_validators method and memoization spec