fixed test and newline