test data and cleaned up output