add test for post_controller
add .travis.yml