mode test config