Adding testing with karma and travis-ci