fixed rectangle test to properly work forward or backward. Also eliminated some commented old code from run.py