Check for no `Cmd` on exec create endpoint

Fixes #9414

Noticed when I don't post any data to exec create I still get a 200 status code back, which is weird.
Actually integration tests are deprecated. Could you move this test to integration-cli? There are already some examples of testing API.