Fixed bug in summary test