Tests(Init): Init unit tests

I re-created the tests I made at work. For an unknown reason the first test returns undefined as error instead of true. I don't know if I missed something or if it is a change on angular 1.3 (I use 1.2 at work)