[SJS-152][TEST]: Write tests for once() event func.