test kx lib