Add unit tests for Action::OnlyOnce