Added tests for fetchlog
Refactoring FetchSupervisor