Add auto init
Add test for auto-init
Version 1.2.0