added the rspec test cases for the categories controller index action with render, status code and loads all the datas into @categories