Tests for console command