Adapt max tested kernel version. Fix a small bug in kernel version check.