update swingpoint and add compareTest