Added explicit raise AssertionError() if loading summary failed.