Add tests for the Line class

I added tests for the <code>Line</code> class as mentioned in issue [#11](https://github.com/blacktm/r2d/issues/11). I followed the conventions used by @JoelQ on previous tests. Let me know if something needs to be changed.