Set default base directory
Divide tests into command and database