testing.py modified to test uprights