Fix module_namespacing method so it wraps test in namespace