Fixed HashService tests side effects