add a chai test case

to complement https://github.com/component/builder2.js/pull/34
1.0.3