ci for lunch
remove some unused code
use assert for getinitflag
modify test
modify test
Merge branch 'dev'