complete tests for index views.  working on controller