Unit tests for NamingUtils