adding example using mocks to test validators
fixing location of the newly added example
adding scoping to mocks
adding tests for param filtered mocks since they have slightly different logic paths