Added test for relations_for_node where the relation had been deleted.