test(schedule): add unit coverage for scheduler core
- add unit tests for registry, runner, run/list commands and file mutex
- make AsScheduledTask repeatable for multi-schedule support
- make AsScheduledTask repeatable for multi-schedule support