Add unit tests for Hand service
Remove unused function