Controller tests complete
Use console.error to get stacktrace in tests
Added runCommands method