write tests to measure Line constructor attributes