added rspec for create and destroy method