Implemented a better handling of weightings for the summarizations. Changed the management of some tests.