Make test mode parameter consistent and pass it to the greeter

Greeter now recognize --test-mode instead of --test for consistency,
also daemon pass this argument to the greeter if in test mode.