Additional tests for command regex matching