Fixed ellipse symmetry and added some tests.