BST.py: fix for testing

Signed-off-by: Luo Chunbo <luochunbo@gmail.com>