fixed home controller test and alert factory tests after introducing mai...

@tlvince after adding coverage the tests pass but i keep getting this error.

[warn] "2014-03-05T15:34:31.594Z"  'Repo token could not be determined.  Continuing without it.'

Fatal error: Bad response:500 {"message":"Build processing error.","error":true,"url":""}

any idea what could be the cause???