Adding Hashes to Factories for controller testing