Adding tests for hash operations.