test_cacles.py: named global varible np