Fix tests by forcing collection initialization