fleetctl: add functional test for name validation