Stop using ! accessors in tests to prevent crashes