fix cyst output length error
add test