Add test to detect reference problem, should it reappear.