Added tests around line assignment.