Add test for CollectionHandler._err.