add test file for post and valid title,post presence