update style setting
fix coding style and add some test
bump version 0.1.2