update kline.py in test