Fix relation tests