Fix task loader spec