Add support for testing mappings with a `nil` source key path. fixes #1582