util: Take the source value when there are duplicate keys in merge_dicts()

merge_dicts() merges one nested dictionary into another.  When there are
duplicate keys then we should always take the values from the source.
Add a unit test to guarantee this behavior.

Signed-off-by: David Aguilar <davvid@gmail.com>