fixed LOG2 unittest