[Remo/James] Fixing failing tests on CI
Fixing build
removed print statement from flow scheduler
refactored tests using magic mock
Continued with  refactoring tests
X Moved enqueue  run queue tests