First-pass update of CRM tests

Passed through the tests for the CRM app with the aim of cleaning up what was there. I also cleaned up the forms and view permissions a bit.