Add test for anonymous namespaces