added boolean matcher for the validator

+ stricter validation on required parameter: required parameters can't be empty. tests are added