Add acceptance tests for hash.