Added tests for ImplFactory and Collection::size().