test file for montecarlo.py