added karma for testing
travis ci