Add positive tests for commands.

Fixes #3.