Added new test codes for TestLogic. Caught impropoer change of normal
task to repeating task