added test before adding carriage return to address lines