add nose tests
add nose tests for code_closure
add nose test shell script