add mocks to karma