add nose test support phase1
add nose support phase2