rspec tests for tasks controller for index and create working