Added an unused warning
Added some basic tests to text_field object
Fixed y incrementation in newline insertion