Basic tests for lines.