Add test for namespace selection