test for name with some bugfixes