Implemented functionality that calculates working duration in hours and wrote some tests for this function