update karma config file, create first unit test for api provider