updated karma config for newer version of the test runner; fixed broken tests