Adds major test additions, defining indexes for all main models and moving delete link tests into there.