Add tests for preferenced periodic sync manager