Added specs for deep_merge even though the code is a paste from Rails codebase