Add tests and up version for oneshot_on option.