Ported PointTest to scala version; added more coverage