test for name and username