Refactored some logger tests and DetailTaskView tests