begun testing in dashboard_controller spec for json