add specs for hashes with defaults.