Last of the ref tests.