add karma & protractor conf and fixed first tests