add bddtest, list test,refactor