Support constructor with required params.
Tests for constructor with required params.