Add unit test for complex names