Replace test on db by test on drush for drush related commands

@cc kiorky