Worked on testing with Rspec.
Added specs for Post controller