Added karma config file and basic tests