Fixed tests dependant on newline separator