Added missing tests for controllers and factories. All passing.