fix remarks directive test
inject scenario into controller, fix 8 tests
remove unused function and its test
fix taskDependencies test