Added missing custom validation method test
Merge pull request #1308 from lukaszb/missing-custom-validation-method-test

Added missing custom validation method test