Added a test for extend-line and the other series functions.