Fix tests that are failing on AspNetvNext CI server