Add tests for command elements.