Testing required parameters.