added #new method test to credit controller spec