got factory test working with , need to test controller