appointments controller specs and index page fix
wip