Fix post controller test

type in format of post controller test