add test file for post controlelr