Remove redundant kernel testing functions