Automate testing in browsers with karma