fix self model reference test