[LOGMGR-68] Fixing a couple of periodic rotation issues and add some tests