remove duplicate test + newline at end