fixed junit test creation and better handling of tap #462 #461
removed test output