Fix uninitialized ivar warning in tests