complete param testing for constructor