test for valid/invalid names on registration