Wrote proper spec test and fixed it to use deep_merge