add tests for submitting new post
add show to controller & tests
fix syntax