Unit tests for Edge3.

Also implemented GetLength method for Edge3 class.