Update testgroup40.py

corrected the typos.