Ensure namespaces are found as submodules
Ensure that the namespace objects within the overall pybind module are found as sub_modules of that instance.
This will enforce the namespace structure described in the YML input files.
Update tests with nested namespaces to ensure that the structure is found correctly.