fix addPost method & add test addPost and getPost
refactoring
Merge pull request #58 from FUNProject14/ichiren1/add-test-addPost-getPost

Ichiren1/add tests to addPost  and getPost