Fixed database test fixture with out-of-order inserts leading to FK violations