Commands: Add functional tests