Fixed test case. And fixed --username, --email in `new` subcommand.