fix CodeFirst tests