Added tests for constructor options