Remove unnecessary initOpts and publicize props.
Replace Integration Test with Unit Test.