drop unused code.
add outputter test.