select type and mode (test)