testing kernel functions