updating log and updating test