fixed dependencies found by running rspec and looking at mocked up sampl...

...e controller