Add test around db uniqueness constraint on fact slug