Fix uninitialized member variable in some test structs