updated test.py

test.py for the main