test written to check name and domain length; all tests passing