Added HashService tests