Update gitignore
Set up Karma and add some basic unit tests