Now I want to test this canister using pocket-ic. RNG don’t seem to be initialized though. Is it the case that pocket-ic doesn’t support timers and/or management canister calls?
PocketIC supports timer and mgmt canister calls, but you need to call tick() a few times to see the effects (on the IC mainnet, it’d also take a few rounds of execution to see the effects). In case, the timer has a positive duration, you might also need to advance time on PocketIC to trigger the timer.