Test model with on/off