fix record reference in test