adding a test for insertLine