Add Karma base for e2e and unit testing