Test case for DM-1710
Use BaseCatalog.extend(..., deep=False) as default

This is passed through Swig to C++ code, which requires a bool argument.

Fix for DM-1710.
Merge branch 'tickets/DM-1710'