Fixes the test for custom collection summary field. Fixes #682.