new line formatter and line formatter test