Added some more tests around the name tests to catch possible regressions.