Added setting mode test