fix create command, tests