input test cleanup