Angular cli service generation: service is generated in root instead of /services
the cli can take a directory, which in the latest release is also a module, hence use:
ng generate service services/Test
Following the comment below, you might need to first run:
ng generate module services
or
mkdir src/services (or src/app/services, depending on your file structure)