added null test kappa_is_k