Added rspec tests for Post class and created model