Tests for create command.