add test and karma config file