Add line intersection unit tests
Add line intersection unit tests
Fixed unit test and line intersection