Add test for multiple namespaces with methods