added npm tests script with a single karma run