Test added for constructor parameters.