Added validations of parameters using zend validator. Updated behat test...

Added validations of parameters using zend validator. Updated behat test...