Add controller testing

I added some controller tests, especially in the area for permit#new/create.  I will close this for now to focus more on feature and model tests.