Tests for constant and variable length lines