Add test for `all`
Refactor `start`
Fix compiler warning
Fix start()