Applying fix_inline patch
Added test for no duplicate namespace error (a problem that was fixed in now merged code)