tests with output hashes