Add test for "create" command.
Minor fixes in create.spec.js