remove spam code from test.py