fix post controller test