finished unittest for ellipse