- added specs to gen_component - fixed a bug in bp handling in gen_component
- added specs to gen_component
- fixed a bug in bp handling in gen_component

caijieming-baidu/scalaris,jvf/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,jvf/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,jvf/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,caijieming-baidu/scalaris,jvf/scalaris,scalaris-team/scalaris,caijieming-baidu/scalaris,scalaris-team/scalaris,jvf/scalaris,scalaris-team/scalaris,jvf/scalaris,jvf/scalaris