Added controller testing, and additional necessary factories.