added tests for line