added mock dir and altered karma config