tested controllers and added factories