ref tests struct