Extract the use of hashes as parameters to constructors into a module (to clean things up a little bit) and create a spec specifically for this module. It's called HashInit.