fix scaffold,add unit test
Merge branch 'scaffold-map' of https://github.com/innobricks/bricks-cli into scaffold-map
Merge branch 'scaffold-map' of https://github.com/innobricks/bricks-cli into scaffold-map