add spec files
added rspec category model tests
added more tests for category and post model