Now using Karma for testing, added a working test

Also support for Travis as used in the angular-seed project