Adding Karma config for automating tests