fix post controller tests