Added tests on periodical schedule. (relates to #35)